package com.sztu.model.pojo.info;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 获奖
 * </p>
 *
 * @author xzx
 * @since 2022-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_award")
@ApiModel(value="Award对象", description="获奖")
public class Award implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "创建人")
    @TableField("created_by")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updated_by")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_time")
    private LocalDateTime updatedTime;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型（学科、文化、体育等）")
    private String type;

    @ApiModelProperty(value = "级别")
    private String level;

    @ApiModelProperty(value = "名次")
    private String rank;

    @ApiModelProperty(value = "授奖平台")
    private String platform;

    @ApiModelProperty(value = "比赛时间")
    @TableField("contest_time")
    private LocalDateTime contestTime;

    @ApiModelProperty(value = "授予时间")
    @TableField("award_time")
    private LocalDateTime awardTime;


}
